package com.liutao.service.impl;

import com.liutao.domain.User;
import com.liutao.mapper.UserMapper;
import com.liutao.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 〈一句话功能简述〉
 * 〈功能详细描述〉
 *
 * @author LIUTAO
 * @version 2017/4/10
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserInfo(String username){
        User user=userMapper.findUserInfo(username);
        return user;
    }
}
